﻿using AutoMapper;
using DAL.Models.DTO;

namespace DAL.Models.AutoMapperConfigManage
{
    public class BagProfile : Profile
    {
        public BagProfile()
        {

            CreateMap<Bag, BagDTO>()
              //.ForMember(destinationMember: o => o.Id, memberOptions: options => options.MapFrom(mapExpression: map => map.Id))
              //.ForMember(destinationMember: o => o.BagId, memberOptions: options => options.MapFrom(mapExpression: map => map.BagId))
              //.ForMember(destinationMember: o => o., memberOptions: options => options.MapFrom(mapExpression: map => map.))
              //.ForMember(destinationMember: o => o.AddTime, memberOptions: options => options.MapFrom(mapExpression: map => map.AddTime))
              //.ForMember(destinationMember: o => o.AddTime, memberOptions: options => options.MapFrom(mapExpression: map => map.AddTime))
              .ReverseMap();

        }
    }
}
